<?php if (!defined('WPSR_ACCESS')) { exit; } ?>

<div id="wpsr_albumlist">

	<ul>
		<?php
		foreach ($this->albums as $album) {
		?>
		<li>
			<div class="wpsr_acover">
				<a href="<?php echo get_option('home'); ?>/<?php echo WPSR_BASE_URI; ?>/<?php echo $album->uri; ?>/"><img src="<?php echo $this->getAlbCover($album, "100x100_c"); ?>" border="0" alt="<?php echo $album->title; ?>" width="100" height="100" /></a>
			</div>
			<div class="wpsr_adesc">
				<div class="wpsr_atitle">
					<a href="<?php echo get_option('home'); ?>/<?php echo WPSR_BASE_URI; ?>/<?php echo $album->uri; ?>/"><?php echo $album->title; ?></a>
					<!-- (<?php echo $album->pics; ?> Pictures) -->
				</div>
				<div class="wpsr_atext">
					<?php echo $album->description; ?>
					<?php //echo $album->date; ?>
				</div>
			</div>
			<div class="wpsr_ameta">
				<?php echo $album->meta; ?> (<?php echo $album->pics; ?> Pictures)
			</div>
		</li>
		<?php
		}
		?>
	</ul>

</div>